<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8"/>
    <title>乌龟工作室</title>

<!--    <link rel="stylesheet" href="../css/bootstrap.min.css">-->
<!--    <link rel="stylesheet" href="../css/common.css">-->
<!--    <link rel="stylesheet" href="../css/nav.css">-->
<!--    <link rel="stylesheet" href="../css/font-awesome.css">-->
    <link rel="stylesheet" href="../css/element/index.css">
    <link rel="icon" type="image/png" sizes="144x144" href="../image/tortoise.png"/>
    <style>
        .el-header, .el-footer {
            /*background-color: #FFFFFF;*/
            color: #333;
            text-align: left;
            line-height: 110px;
            font-size: xx-large;
            padding: 0 50px;
            font-family: "Hiragino Sans GB";
            font-weight: bold;
        }

        .el-aside {
            background-color: #909399;
            color: #ffffff;
            font-size: x-large;
            text-align: center;
            line-height: 100px;
            width: 150px;
            margin-right: 10px;
        }

        .el-main {
            background-color: #F8F9FB;
            color: #333;
            text-align: center;
            line-height: 160px;
        }
        .el-menu-vertical-demo{
            margin-top: 70px;
        }
        .el-menu-vertical-demo:not(.el-menu--collapse) {
            width: 150px;
            /*text-align: left;*/
            /*min-height: 300px;*/
        }

    </style>
</head>
<body>
<div id="app" style="padding: 10px 0">
    <el-container style="height: 800px;">
        <el-aside style="min-width: 200px;width: auto">
            <div class="block" style="margin-top: 20px">
                <el-avatar :size="100" :src="headerUrl"  @error="true">
                    <img src="../image/lost.png"/>
                </el-avatar>
            </div>
            <div @mouseenter="handleshow" @mouseleave="handlehiden">
                <el-menu default-active="1" class="el-menu-vertical-demo" :collapse="isCollapse">
                    <el-menu-item index="1">
                        <i class="el-icon-s-home"></i>
                        <span slot="title">团队介绍</span>
                    </el-menu-item>
                    <el-menu-item index="2">
                        <i class="el-icon-s-marketing"></i>
                        <span slot="title">开发进度</span>
                    </el-menu-item>
                    <el-menu-item index="3">
                        <i class="el-icon-folder-opened"></i>
                        <span slot="title">文件管理</span>
                    </el-menu-item>
                    <el-menu-item index="4">
                        <i class="el-icon-date"></i>
                        <span slot="title">何年何日</span>
                    </el-menu-item>
                </el-menu>
            </div>
        </el-aside>
        <el-container>
            <el-header style="height: 110px">（待命名）工作室</el-header>
            <el-main>
                没有规划，全凭两个憨憨心血来潮来开发，最终结果遥遥无期。
            </el-main>
        </el-container>
    </el-container>
</div>
<script src="../js/vue/vue.js"></script>
<!--<script src="https://unpkg.com/vue@next"></script>-->
<script src="../js/vue/axios.min.js"></script>
<script src="../js/element/index.js"></script>
<!--<script src="../js/jquery-1.10.2.js"></script>-->
<script>
    const vm = new Vue({
        el: '#app',
        data: function () {
            return {
                visible: false,
                isCollapse: true,
                headerUrl: "../image/sleep.jpg"
            }
        },
        methods: {
            handleshow(){
                // console.log("show")
                this.isCollapse = false;
            },
            handlehiden(){
                // console.log("close")
                this.isCollapse = true;
            }
        }
    });
</script>
</body>
</html>